package com.wzcl.app.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class TopicOptionDto extends BaseDto{

    @NotNull(message = "小题Id不能为空")
    @ApiModelProperty(value = "小题Id")
    private Integer topicInfoId;

    @NotNull(message = "选项编号不能为空")
    @ApiModelProperty(value = "选项A,B,C,D")
    private String optionCode;

    @NotNull(message = "选项内容不能为空")
    @ApiModelProperty(value = "选项内容")
    private String  content;

    @NotNull(message = "排序字段不能为空")
    @ApiModelProperty(value = "排序字段")
    private Integer orderNo;
}
